package com.beiye.drivertransport.bean;

import java.util.List;

/**
 * Created by ky on 2018/5/24.
 */
//选择行政区划
public class StrationCityBean {


    /**
     * result : true
     * data : {"adId":"500000","parentAdId":"1","adName":"重庆市","firstIndex":1,"pageSize":1000,"resultCode":0,"recordCount":5,"nextList":[{"ROWNO":1,"nextAdId":"500103","nextAdName":"渝中区"},{"ROWNO":2,"nextAdId":"500104","nextAdName":"大渡口区"},{"ROWNO":3,"nextAdId":"500105","nextAdName":"江北区"},{"ROWNO":4,"nextAdId":"500106","nextAdName":"沙坪坝区"},{"ROWNO":5,"nextAdId":"500107","nextAdName":"九龙坡区"}]}
     * msg : 操作成功
     * rows : null
     * total : null
     * code : 0
     */

    private boolean result;
    private DataBean data;
    private String msg;
    private Object rows;
    private Object total;
    private int code;

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getRows() {
        return rows;
    }

    public void setRows(Object rows) {
        this.rows = rows;
    }

    public Object getTotal() {
        return total;
    }

    public void setTotal(Object total) {
        this.total = total;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public static class DataBean {
        /**
         * adId : 500000
         * parentAdId : 1
         * adName : 重庆市
         * firstIndex : 1
         * pageSize : 1000
         * resultCode : 0
         * recordCount : 5
         * nextList : [{"ROWNO":1,"nextAdId":"500103","nextAdName":"渝中区"},{"ROWNO":2,"nextAdId":"500104","nextAdName":"大渡口区"},{"ROWNO":3,"nextAdId":"500105","nextAdName":"江北区"},{"ROWNO":4,"nextAdId":"500106","nextAdName":"沙坪坝区"},{"ROWNO":5,"nextAdId":"500107","nextAdName":"九龙坡区"}]
         */

        private String adId;
        private String parentAdId;
        private String adName;
        private int firstIndex;
        private int pageSize;
        private int resultCode;
        private int recordCount;
        private List<NextListBean> nextList;


        public String getAdId() {
            return adId;
        }

        public void setAdId(String adId) {
            this.adId = adId;
        }

        public String getParentAdId() {
            return parentAdId;
        }

        public void setParentAdId(String parentAdId) {
            this.parentAdId = parentAdId;
        }

        public String getAdName() {
            return adName;
        }

        public void setAdName(String adName) {
            this.adName = adName;
        }

        public int getFirstIndex() {
            return firstIndex;
        }

        public void setFirstIndex(int firstIndex) {
            this.firstIndex = firstIndex;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getResultCode() {
            return resultCode;
        }

        public void setResultCode(int resultCode) {
            this.resultCode = resultCode;
        }

        public int getRecordCount() {
            return recordCount;
        }

        public void setRecordCount(int recordCount) {
            this.recordCount = recordCount;
        }

        public List<NextListBean> getNextList() {
            return nextList;
        }

        public void setNextList(List<NextListBean> nextList) {
            this.nextList = nextList;
        }

        public static class NextListBean {
            /**
             * ROWNO : 1
             * nextAdId : 500103
             * nextAdName : 渝中区
             */

            private int ROWNO;
            private String nextAdId;
            private String nextAdName;
            public NextListBean()
            {

            }
            public NextListBean(String nextAdId, String nextAdName) {
                this.nextAdId = nextAdId;
                this.nextAdName = nextAdName;
            }

            public int getROWNO() {
                return ROWNO;
            }

            public void setROWNO(int ROWNO) {
                this.ROWNO = ROWNO;
            }

            public String getNextAdId() {
                return nextAdId;
            }

            public void setNextAdId(String nextAdId) {
                this.nextAdId = nextAdId;
            }

            public String getNextAdName() {
                return nextAdName;
            }

            public void setNextAdName(String nextAdName) {
                this.nextAdName = nextAdName;
            }
        }
    }
}
